package com.service;

import com.github.pagehelper.PageInfo;
import com.pojo.Parkinglot;
import com.vo.ParkingLotVo;

public interface ParkingLotService {
    /*查询所有车位*/
   public PageInfo<Parkinglot> selectalllot(ParkingLotVo parkingLotVo);
   /*
   * 添加车位
   * */
   void insert(Parkinglot parkinglot);
    /**
     * 修改状态
     */
    void updatestatebyid(Integer id,Integer stateid);

    public PageInfo<Parkinglot> selectAllLinShi(ParkingLotVo parkingLotVo);

    /***
     * 根据车位编号将车位状态改为已占用
     * @param id
     * @return
     */
    public int updateStateById(Integer id);

    public int updateNullStateById(Integer id);

    public Parkinglot selectParkingLotById(Integer id);

}
